package com.edu.gcu.domain;

import com.edu.gcu.domain.AbstractQuartzJob;
import com.edu.gcu.domain.sys.SysJob;
import com.edu.gcu.utils.JobInvokeUtils;
import org.quartz.JobExecutionContext;

/**
 * 定时任务处理（允许并发执行）
 *
 * @author luomang
 */
public class QuartzJobExecution extends AbstractQuartzJob {
    @Override
    protected void doExecute(JobExecutionContext context, SysJob sysJob) throws Exception {
        JobInvokeUtils.invokeMethod(sysJob);
    }
}
